Optimal. Leaf size=197 \[ -\frac{(3 x+11) \left (3 x^2+5 x+2\right )^{7/2}}{12 (2 x+3)^6}-\frac{7 (1046 x+1301) \left (3 x^2+5 x+2\right )^{5/2}}{1920 (2 x+3)^5}-\frac{7 (31174 x+40201) \left (3 x^2+5 x+2\right )^{3/2}}{25600 (2 x+3)^3}+\frac{63 (20678 x+44365) \sqrt{3 x^2+5 x+2}}{102400 (2 x+3)}-\frac{8547 \sqrt{3} \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{1024}+\frac{6620481 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{204800 \sqrt{5}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.131379, antiderivative size = 197, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 6, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {812, 810, 843, 621, 206, 724} \[ -\frac{(3 x+11) \left (3 x^2+5 x+2\right )^{7/2}}{12 (2 x+3)^6}-\frac{7 (1046 x+1301) \left (3 x^2+5 x+2\right )^{5/2}}{1920 (2 x+3)^5}-\frac{7 (31174 x+40201) \left (3 x^2+5 x+2\right )^{3/2}}{25600 (2 x+3)^3}+\frac{63 (20678 x+44365) \sqrt{3 x^2+5 x+2}}{102400 (2 x+3)}-\frac{8547 \sqrt{3} \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{1024}+\frac{6620481 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{204800 \sqrt{5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 812
Rule 810
Rule 843
Rule 621
Rule 206
Rule 724
Rubi steps
\begin{align*} \int \frac{(5-x) \left (2+5 x+3 x^2\right )^{7/2}}{(3+2 x)^7} \, dx &=-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}-\frac{7}{96} \int \frac{(-172-204 x) \left (2+5 x+3 x^2\right )^{5/2}}{(3+2 x)^6} \, dx\\ &=-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}+\frac{7 \int \frac{(31932+37032 x) \left (2+5 x+3 x^2\right )^{3/2}}{(3+2 x)^4} \, dx}{15360}\\ &=-\frac{7 (40201+31174 x) \left (2+5 x+3 x^2\right )^{3/2}}{25600 (3+2 x)^3}-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}-\frac{7 \int \frac{(-3816504-4466448 x) \sqrt{2+5 x+3 x^2}}{(3+2 x)^2} \, dx}{1228800}\\ &=\frac{63 (44365+20678 x) \sqrt{2+5 x+3 x^2}}{102400 (3+2 x)}-\frac{7 (40201+31174 x) \left (2+5 x+3 x^2\right )^{3/2}}{25600 (3+2 x)^3}-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}+\frac{7 \int \frac{-60096816-70329600 x}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx}{9830400}\\ &=\frac{63 (44365+20678 x) \sqrt{2+5 x+3 x^2}}{102400 (3+2 x)}-\frac{7 (40201+31174 x) \left (2+5 x+3 x^2\right )^{3/2}}{25600 (3+2 x)^3}-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}-\frac{25641 \int \frac{1}{\sqrt{2+5 x+3 x^2}} \, dx}{1024}+\frac{6620481 \int \frac{1}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx}{204800}\\ &=\frac{63 (44365+20678 x) \sqrt{2+5 x+3 x^2}}{102400 (3+2 x)}-\frac{7 (40201+31174 x) \left (2+5 x+3 x^2\right )^{3/2}}{25600 (3+2 x)^3}-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}-\frac{25641}{512} \operatorname{Subst}\left (\int \frac{1}{12-x^2} \, dx,x,\frac{5+6 x}{\sqrt{2+5 x+3 x^2}}\right )-\frac{6620481 \operatorname{Subst}\left (\int \frac{1}{20-x^2} \, dx,x,\frac{-7-8 x}{\sqrt{2+5 x+3 x^2}}\right )}{102400}\\ &=\frac{63 (44365+20678 x) \sqrt{2+5 x+3 x^2}}{102400 (3+2 x)}-\frac{7 (40201+31174 x) \left (2+5 x+3 x^2\right )^{3/2}}{25600 (3+2 x)^3}-\frac{7 (1301+1046 x) \left (2+5 x+3 x^2\right )^{5/2}}{1920 (3+2 x)^5}-\frac{(11+3 x) \left (2+5 x+3 x^2\right )^{7/2}}{12 (3+2 x)^6}-\frac{8547 \sqrt{3} \tanh ^{-1}\left (\frac{5+6 x}{2 \sqrt{3} \sqrt{2+5 x+3 x^2}}\right )}{1024}+\frac{6620481 \tanh ^{-1}\left (\frac{7+8 x}{2 \sqrt{5} \sqrt{2+5 x+3 x^2}}\right )}{204800 \sqrt{5}}\\ \end{align*}
Mathematica [A] time = 0.18909, size = 130, normalized size = 0.66 \[ \frac{-\frac{10 \sqrt{3 x^2+5 x+2} \left (2073600 x^7-23155200 x^6-550079616 x^5-2968126160 x^4-7425343520 x^3-9799959120 x^2-6648875480 x-1835461379\right )}{(2 x+3)^6}-19861443 \sqrt{5} \tanh ^{-1}\left (\frac{-8 x-7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )-25641000 \sqrt{3} \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{9 x^2+15 x+6}}\right )}{3072000} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.016, size = 337, normalized size = 1.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 2.05624, size = 502, normalized size = 2.55 \begin{align*} \frac{191079}{1000000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}} - \frac{13 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{30 \,{\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )}} - \frac{21 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{125 \,{\left (32 \, x^{5} + 240 \, x^{4} + 720 \, x^{3} + 1080 \, x^{2} + 810 \, x + 243\right )}} - \frac{1143 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{5000 \,{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} - \frac{459 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{6250 \,{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac{63693 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{250000 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac{1048383}{500000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x - \frac{368739}{4000000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} + \frac{47169 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}}}{50000 \,{\left (2 \, x + 3\right )}} - \frac{313551}{80000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} x + \frac{116487}{640000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} - \frac{630693}{64000} \, \sqrt{3 \, x^{2} + 5 \, x + 2} x - \frac{8547}{1024} \, \sqrt{3} \log \left (\sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2} + 3 \, x + \frac{5}{2}\right ) - \frac{6620481}{1024000} \, \sqrt{5} \log \left (\frac{\sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac{5}{2 \,{\left | 2 \, x + 3 \right |}} - 2\right ) + \frac{2415861}{512000} \, \sqrt{3 \, x^{2} + 5 \, x + 2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.51256, size = 759, normalized size = 3.85 \begin{align*} \frac{25641000 \, \sqrt{3}{\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )} \log \left (-4 \, \sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (6 \, x + 5\right )} + 72 \, x^{2} + 120 \, x + 49\right ) + 19861443 \, \sqrt{5}{\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )} \log \left (\frac{4 \, \sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (8 \, x + 7\right )} + 124 \, x^{2} + 212 \, x + 89}{4 \, x^{2} + 12 \, x + 9}\right ) - 20 \,{\left (2073600 \, x^{7} - 23155200 \, x^{6} - 550079616 \, x^{5} - 2968126160 \, x^{4} - 7425343520 \, x^{3} - 9799959120 \, x^{2} - 6648875480 \, x - 1835461379\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{6144000 \,{\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.29607, size = 625, normalized size = 3.17 \begin{align*} -\frac{9}{512} \, \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (6 \, x - 121\right )} + \frac{6620481}{1024000} \, \sqrt{5} \log \left (\frac{{\left | -4 \, \sqrt{3} x - 2 \, \sqrt{5} - 6 \, \sqrt{3} + 4 \, \sqrt{3 \, x^{2} + 5 \, x + 2} \right |}}{{\left | -4 \, \sqrt{3} x + 2 \, \sqrt{5} - 6 \, \sqrt{3} + 4 \, \sqrt{3 \, x^{2} + 5 \, x + 2} \right |}}\right ) + \frac{8547}{1024} \, \sqrt{3} \log \left ({\left | -2 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )} - 5 \right |}\right ) + \frac{1761054624 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{11} + 26119839696 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{10} + 522182992240 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{9} + 2060002389600 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{8} + 16013156565600 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{7} + 28585665528288 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{6} + 107556795368496 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{5} + 94759944627240 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{4} + 172447244925750 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{3} + 68627763126675 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{2} + 48408731804817 \, \sqrt{3} x + 5098539730008 \, \sqrt{3} - 48408731804817 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{307200 \,{\left (2 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{2} + 6 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )} + 11\right )}^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]